﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LimitOrderBookSim.Model.Markets
{
   public class Event
    {
       public Event()
       {
           Contract = new List<Contract>();
       }

        public List<Contract> Contract { get; set; }
        public String Name { get; set; }
        public DateTime Expiration { get; set; }
        public Boolean IsOpen()
        {
            return (DateTime.Now <Expiration);
        }
    }
}
